using System.Collections.Generic;

namespace Unbound.Unbinders
{
	internal static class UnbindingExtensions
	{
		public static void Merge(this IDictionary<string, object> dictionary,
		                         IEnumerable<KeyValuePair<string, object>> additionalPairs)
		{
			foreach (var pair in additionalPairs)
			{
				dictionary.Add(pair.Key, pair.Value);
			}
		}
	}
}